<?php

namespace beObject\MVC;

/**
 * This interface force to implements mapping methods when an object with
 * encapsulated objects is serialized.
 * @author Dany Mottier
 * @copyright MD Consult
 * @license http://www.gnu.org/licenses/gpl.html
 * @link http://www.beobject-framework.net/beobject/mvc/interfaces/validator-interface/<br />
 * @package beObject\MVC
 * @version 3.0
 */
interface iValidation {

  /**
   * This function forces to implements a validation method.<br />
   * Note that this function should return a beObject\Primitive\Boolean and can
   * call beObject\MVC\ValidatorHelper methods.
   * @link http://www.beobject-framework.net/beobject/mvc/interfaces/validator-validate/
   */
  function validate();
}

?>
